package com.ztesoft.sca.model;

import java.util.List;

/**
 * 菜单
 *
 * @author guojd
 */
public class ImMenuDto {
    /**
     * 菜单ID
     */
    private Long menuId;
    /**
     * 菜单编码
     */
    private String menuCode;
    /**
     * 菜单名称
     */
    private String menuName;
    /**
     * 父菜单ID
     */
    private Long parentId;
    /**
     * 是否父级节点
     */
    private boolean isParents;
    /**
     * 子菜单
     */
    private List<ImMenuDto> subMenu;

    public Long getMenuId() {
        return menuId;
    }

    public void setMenuId(Long menuId) {
        this.menuId = menuId;
    }

    public String getMenuCode() {
        return menuCode;
    }

    public void setMenuCode(String menuCode) {
        this.menuCode = menuCode;
    }

    public String getMenuName() {
        return menuName;
    }

    public void setMenuName(String menuName) {
        this.menuName = menuName;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public boolean isParents() {
        return isParents;
    }

    public void setParents(boolean parents) {
        isParents = parents;
    }

    public List<ImMenuDto> getSubMenu() {
        return subMenu;
    }

    public void setSubMenu(List<ImMenuDto> subMenu) {
        this.subMenu = subMenu;
    }
}
